/* 
 * 路由表对象：
 * 该文件挂载在Vue原型中 $mRoutesConfig
 * 作用：调用$mRouter对象的方法 传入以下对应的路由对象，详细见common目录下的router.js
 * 示例：this.$mRouter.push({route:this.$mRoutesConfig.main,query:{a:1}})
 * 注意：所有在pages目录下新建的页面都必须在"路由表"中进行声明，并且在框架的pages.json注册。
 * 
 * 配置参数项说明： 
 * name:可选配置 （路由名称）
 * path:必填配置 （路由地址）
 * requiresAuth:可选配置 （是否权限路由）
 */

export default {
	index: {
		name: "首页",
		path: "/pages/index/index"
	},

	positionList: {
		name: "每日兼职",
		path: "/pages/position/list"
	},
	kf: {
		name: "在线客服",
		path: "/pages/myManage/kf/kf"
	},

	positionDetail: {
		name: "兼职详情",
		path: "/pages/position/detail"
	},
	userbbbDetail: {
		name: "兼职详情",
		path: "/pages/bbb/userdetail"
	},
	orderDetail: {
		name: "订单详情",
		path: "/pages/order/detail"
	},
	my: {
		name: "我的",
		path: "/pages/my/my",
		requiresAuth:true
	},

	userInfo: {
		name: "编辑信息",
		path: "/pages/my/editInfo",
		requiresAuth:true
	},
	proxyIntro: {
		name: "代理介绍",
		path: "/pages/myManage/proxyIntro/proxyIntro",
		requiresAuth: true
	},
	myTeam: {
		name: "我的团队",
		path: "/pages/myManage/myTeam/myTeam",
		requiresAuth: true
	},
	notices:{
		name: "系统公告",
		path: "/pages/chat/notice/notices"
	},
	noticeDetail:{
		name: "公告详情",
		path: "/pages/chat/notice/noticeDetail"
	},
	myPosition: {
		name: "我的兼职",
		path: "/pages/myManage/myPosition/myPosition",
		requiresAuth: true
	},
	myCollect: {
		name: "我的收藏",
		path: "/pages/myManage/myCollect/myCollect",
		requiresAuth: true
	},
	withdrawal: {
		name: "我要提现",
		path: "/pages/myManage/withdrawal/withdrawal",
		requiresAuth: true
	},
	addBankCard: {
		name: "添加银行卡",
		path: "/pages/myManage/addBankCard/addBankCard",
		requiresAuth: true
	},
	pocketLog: {
		name: "资金日志",
		path: "/pages/myManage/pocketLog/pocketLog"
	},
	myPositionDetail: {
		name: "兼职详情",
		path: "/pages/myManage/myPosition/detail"
	},
	// checkIn: {
	// 	name: "商家入驻",
	// 	path: "/pages/myManage/checkIn/checkIn"
	// },
	findJob: {
		name: "发现商家",
		path: "/pages/findJob/findJob",
		requiresAuth: true
	},
	recharge: {
		name: "充值",
		path: "/pages/recharge/recharge",
		requiresAuth: true
	},
	desire: {
		name: "功能期望",
		path: "/pages/myManage/desire/desire"
	},
	kf: {
		name: "在线客服",
		path: "/pages/myManage/kf/kf"
	},
	login: {
		name: "登录",
		path: "/pages/login/login"
	},
	loginPwd: {
		name: "密码登录",
		path: "/pages/login/loginPwd"
	},
	resetPwd: {
		name: "重置密码",
		path: "/pages/login/resetPwd",
		requiresAuth: true
	},
	reg: {
		name: "注册",
		path: "/pages/login/reg"
	},
	design: {
		name: "毕设",
		path: "/pages/design/list"
	},
	viewBuiness: {
		name: "商家查看认证信息",
		path: "/pages/findJob/viewBuiness",
		requiresAuth: true
	},
	setUp: {
		name: "设置",
		path: "/pages/myManage/setUp/setUp",
		requiresAuth: true
	},
	editPayPwd: {
		name: "修改资金密码",
		path: "/pages/myManage/setUp/editPayPwd",
		requiresAuth: true
	},
	userAgree: {
		name: "用户协议",
		path: "/pages/agreement/userAgreement"
	},
	
	privacy: {
		name: "隐私政策",
		path: "/pages/agreement/userPolicy"
	},
	
	thisStarcity: {
		name: "关于我们",
		path: "/pages/agreement/thisStarcity"
	},
	future: {
		name: "星城未来",
		path: "/pages/future/future"
	},
	idleSquare: {
		name: "闲置广场",
		path: "/pages/idleSquare/idleSquare"
	},
	publishIdle: {
		name: "发布闲置",
		path: "/pages/idleSquare/publishIdle"
	},
	idledetail: {
		name: "闲置详情",
		path: "/pages/idleSquare/idledetail"
	},
	myIdle: {
		name: "我的闲置",
		path: "/pages/myManage/myIdle/myIdle"
	},
	publishManage:{
		name: "发布管理",
		path: "/pages/publishManage/publishManage"
	},
	publishJob:{
		name: "商家发布",
		path: "/pages/publishJob/publishJob"
	},
	bbbPublish:{
		name: "帮帮发布",
		path: "/pages/bbb/bbbPublish"
	},
	bbbPushList:{
		name: "帮帮管理",
		path: "/pages/bbb/bbbPushList"
	},
	orderList:{
		name: "订单管理",
		path: "/pages/order/orderList"
	},
	bbbEdit:{
		name: "帮帮编辑",
		path: "/pages/bbb/bbbEdit"
	},
	schoolSquare:{
		name: "校园圈",
		path: "/pages/index/index?type=1"
	},
	auth:{
		name: "账户认证",
		path: "/pages/my/auth"
	},
	mySchoolSquare:{
		name: "我的校园圈",
		path: "/pages/myManage/schoolSquare/mySchoolSquare"
	},
	likeSchoolSquare:{
		name: "校园圈点赞",
		path: "/pages/myManage/schoolSquare/likeSchoolSquare"
	},
	collSchoolSquare:{
		name: "校园圈收藏",
		path: "/pages/myManage/schoolSquare/collSchoolSquare"
	}
}
